package com.sc.serviceimpl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sc.bean.Note;
import com.sc.dao.QueryNoteByIdDao;

@Service
public class QueryNoteByIdServiceImple {
	
	@Autowired
	private QueryNoteByIdDao noteDao;
	
	
	public Note queryNote(int n_id){
		
		Note note=noteDao.queryNoteById(n_id);
		return note;
				
	}
	
}
